﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;

/// <summary>
/// Summary description for RequestInfo
/// </summary>
public class RequestInfo
{
    #region Propertives
    //submitter
    private UserInfo uiSubmitter;
    public UserInfo UiSubmitter
    {
        get { return uiSubmitter; }
        set { uiSubmitter = value; }
    }
    private String strRequestCode;
    public String StrRequestCode
    {
        get { return strRequestCode; }
        set { strRequestCode = value; }
    }
    private String strDescription;
    public System.String StrDescription
    {
        get { return strDescription; }
        set { strDescription = value; }
    }
    private float fAmount;
    public float FAmount
    {
        get { return fAmount; }
        set { fAmount = value; }
    }
    private DateTime dtRequestDate;
    public System.DateTime DtRequestDate
    {
        get { return dtRequestDate; }
        set { dtRequestDate = value; }
    }
    private String strRemark;
    public System.String StrRemark
    {
        get { return strRemark; }
        set { strRemark = value; }
    }
    private BusinessCataloge bcBusCatDivision;//project
    public BusinessCataloge BcBusCatDivision
    {
        get { return bcBusCatDivision; }
        set { bcBusCatDivision = value; }
    }
    private BusinessInfo biBusPartner;
    public BusinessInfo BiBusPartner
    {
        get { return biBusPartner; }
        set { biBusPartner = value; }
    }
    private UserInfo uiPIC;
    public UserInfo UiPIC
    {
        get { return uiPIC; }
        set { uiPIC = value; }
    }
    private UserInfo uiDirector;
    public UserInfo UiDirector
    {
        get { return uiDirector; }
        set { uiDirector = value; }
    }
    private UserInfo uiVPre;
    public UserInfo UiVPre
    {
        get { return uiVPre; }
        set { uiVPre = value; }
    }
    private Status stRequestStatus;
    public Status StRequestStatus
    {
        get { return stRequestStatus; }
        set { stRequestStatus = value; }
    }
    #endregion

    public RequestInfo()
    {
        UiSubmitter = new UserInfo();
        UiDirector = new UserInfo();
        UiPIC = new UserInfo();
        UiVPre = new UserInfo();
        StrRequestCode = Constant.STR_DEFAULT;
        StrDescription = Constant.STR_DEFAULT;
        FAmount = 0;
        DtRequestDate = DateTime.Now.Date;
        StRequestStatus = new Status();
        StrRemark = Constant.STR_DEFAULT;
        BcBusCatDivision = new BusinessCataloge();
        BiBusPartner = new BusinessInfo();
    }
}
